import request from '@/utils/request'


export default {

    //判断是否是管理员
    getemail() {
    console.log("mounted7....") 
    return request({
      url: '/user/signin/getemail',
      method: 'get'
    })
  },

//管理员申请
  applyadmin(data){
    return request({
        url: '/user/apply/applyadmin',
        method: 'put',
        data
      })
  },

  //申请进度
  getbyinfo(){
    return request({
        url: '/user/apply/getinfo',
        method: 'get',
      })
  },

  //撤销申请
  removeinfo(data){

    return request({
        url: '/user/apply/removeinfo',
        method: 'delete',
        data
      })
  }
}